package org.xinjiang.tarim.travel.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import org.xinjiang.tarim.travel.model.LookMddRecord;
import org.xinjiang.tarim.travel.vo.Criteria;

import java.util.List;

@Mapper
@Component("LookMddRecordMapper")
public interface LookMddRecordMapper {
    Long selectByConditionCount(Criteria criteria);

    List selectByCondition(Criteria criteria);

    int deleteByPrimaryKey(Long id);

    int deleteByUserId(String openid);

    int insert(LookMddRecord record);

    int updateByPrimaryKeySelective(LookMddRecord record);
}